import Mock from 'mockjs'
//两次Mock
export const MockList = Mock.mock('/list', 'get', () => {
  return Mock.mock({
    'list|6': [
      { 
        'id+1': '@id',
        name: '@cname',
        "img|3-6": '@image(80x80,@color)',
        desc: '@ctitle(3,6)',
        city: '@city(true)',
        'price|100-200': 0,
        checked: false,
        num:1,
        'ShowOpen|1': ['true', 'false'],
       'swiperimg|3-6': [
          {
            id: '@id',
            img: '@image(80x80,@color)'
          }
        ]
      }
    ]
  })
})
export default {
    MockList
}


